package com.example.selectdorm.service;

import com.example.selectdorm.entity.OrderInfo;
import com.example.selectdorm.repo.OrderInfoRepository;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class OrderInfoService {
    private final OrderInfoRepository orderInfoRepository;

    public void addOrderInfo(OrderInfo orderInfo) {
        orderInfoRepository.save(orderInfo);
    }
}
